<?php 

$criteria=new CDbCriteria();
$criteria->condition = "t.active=1 AND t.price IN 
(
	SELECT id FROM data_package WHERE price=0 AND type=1
)		
";
$criteria->limit = 5;
$criteria->order='t.order DESC';


$dataProvider=new CActiveDataProvider('Clip', array(
    'criteria'=>$criteria,
	'pagination'=>false,
));
$this->widget('zii.widgets.CListView', array(
    'dataProvider'=>$dataProvider,
    'itemView'=>'/clip/_view',
	'summaryText'=>'',
));
?>
<div class="more">
<?php echo CHtml::link('Xem tiếp <img src="images/icon_more.jpg"/>',array('/clip'),array('title'=>'Xem tiếp')); ?>
</div>